import java.io.IOException;
import javax.servlet.Servlet;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.jsp.JspEngineInfo;
import javax.servlet.jsp.JspFactory;
import javax.servlet.jsp.PageContext;

import weblogic.servlet.jsp.PageContextImpl;

public final class JspFactoryImpl extends JspFactory
{
  private static boolean inited = false;

  public static synchronized void init() { if (inited) {
      return;
    }
    setDefaultFactory(new JspFactoryImpl());
  }

  public PageContext getPageContext(Servlet paramServlet, ServletRequest paramServletRequest, ServletResponse paramServletResponse, String paramString, boolean paramBoolean1, int paramInt, boolean paramBoolean2)
  {
    try
    {
      return new PageContextImpl(this, paramServlet, paramServletRequest, paramServletResponse, paramString, paramBoolean1, paramInt, paramBoolean2); } catch (IOException localIOException) {
    }
    return null;
  }

  public void releasePageContext(PageContext paramPageContext) {
    paramPageContext.release();
  }
  public JspEngineInfo getEngineInfo() {
    return new JspEngineInfo() {
      public String getSpecificationVersion() { return "1.1";
      }
    };
  }
}
